import axios from '../../request'
export default {
    //难度类型数据
    nList() {
        return axios.get(`/question/nd/list`);
    },
    //课程名称
    kList() {
        return axios.get(`question/subject/list`);
    },
    //添加
    xiangqingDTO(data) {
        console.log(data);
        return axios.post(`/question/qdetails/add`, data);
    },
    //图片上传
    upload(data) {
        console.log(data);
        return axios.post(`/api/upload/upload`, data);
    },
}